package com.yuanlp.mobileplayer.bean;

import java.io.Serializable;

/**
 * Created by 原立鹏 on 2017/7/14.
 * 代表一个视频和音频
 */

public class MediaItem implements Serializable{
    private String name;    //名字
    private long duration;  //总时长
    private long size;      //文件大小
    private String data;    //路径
    private String artist;  //演唱者
    private String album;  //专辑名

    public void setAlbum(String album){
        this.album=album;
    }
    public String getAlbum(){
        return album;
    }

    public String getVideoTitle() {
        return videoTitle;
    }

    public void setVideoTitle(String videoTitle) {
        this.videoTitle = videoTitle;
    }

    public String getCoverImg() {
        return coverImg;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }

    public String getHightUrl() {
        return hightUrl;
    }

    public void setHightUrl(String hightUrl) {
        this.hightUrl = hightUrl;
    }

    private String videoTitle;
    private String coverImg;
    private String hightUrl;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getArtist() {
        return artist;
    }

    public void setArtist(String artist) {
        this.artist = artist;
    }

    @Override
    public String toString() {
        return "MediaItem{" +
                "name='" + name + '\'' +
                ", duration=" + duration +
                ", size=" + size +
                ", data='" + data + '\'' +
                ", artist='" + artist + '\'' +
                ", album='" + album + '\'' +
                ", videoTitle='" + videoTitle + '\'' +
                ", coverImg='" + coverImg + '\'' +
                ", hightUrl='" + hightUrl + '\'' +
                '}';
    }
}
